<template>
  <div>
    <p><slot name="a"></slot></p>
    <p><slot name="b"></slot></p>
    <p><slot name="c"></slot></p>
  </div>
</template>

<script>
export default {
  name: 'message',
  data() {
    return {
      msg: '1234',
    };
  },
};
</script>

<style scoped>
div{
  width: 80%;
  max-width: 300px;
  height: 200px;
  line-height: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  background: pink;
  border-radius: 5px;
}
</style>
